﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WZLY
{
    class ZuDui:HaoY
    {
        public static QBHaoy[] zudui1 = new QBHaoy[6];
        public ZuDui(DLMB YSRXX)
        {
            
            Console.WriteLine("输入1当前房间人列表,输入2邀请好友,输入3开始游戏");
            int pd7 = Convert.ToInt32(Console.ReadLine());
            if (pd7 == 1)
            {
                Console.WriteLine("编号:{0}\n昵称:{1}\n签名:{2}\n性别:{3}\n等级:{4}\n", YSRXX.Bianhao, YSRXX.Name, YSRXX.QM, YSRXX.XB1, YSRXX.DJ);
                for (int i = 1; i < 6; i++)
                {
                    HaoY haoy2 = new HaoY(zudui1[i]);
                    if (haoy2.Bianhao != 0)
                    {
                        Console.WriteLine("编号:{0}\n昵称:{1}\n签名:{2}\n性别:{3}\n等级:{4}\n", haoy2.Bianhao, haoy2.Name, haoy2.QM, haoy2.XB1, haoy2.DJ);
                    }
                }
                new ZuDui(YSRXX);
            }
            else if (pd7 == 2)
            {
                Program.YQHY(YSRXX);
            }
            else if(pd7==3)
            {
                Program.ChuangJianKS(YSRXX);
            }
        }
    }
}
